<?php
	//require_once __DIR__."/../Models/news.php";
	
	use Symfony\Component\HttpFoundation\Request;
	use Symfony\Component\HttpFoundation\Response;

	//$news_model = new Models\News($app);
	$news_model = '';
	$news = $app['controllers_factory'];


	$news->get('/', function() use ($app, $news_model) {
		return "news";
	});

	$news->get('/{name}', function($name) use ($app, $news_model) {
		
		return 'news';

	});

	

	return $news; 
?>